package com.maoyan.quickdevelop.system.mapper.dqroom;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maoyan.quickdevelop.common.core.domain.dqroom.DqRoom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DqRoomMapper extends BaseMapper<DqRoom> {
  public List<DqRoom> selectAllDqRoom(@Param("dqRoom") DqRoom dqRoom);
  @Select("select room_number from dq_room_info where room_id=#{roomId}")
  public List<String> selectAllDqRoomNumberByRoomId(@Param("roomId") Long roomId);
}
